package com.txt.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "用户信息")
@TableName(value ="user")
@Data
public class User {

    @TableId
    @Schema(description = "id")
    private String id;

    @Schema(description = "账号")
    @ExcelProperty(value = "账号")
    private String account;

    @Schema(description = "密码")
    @ExcelProperty(value = "密码")
    private String password;

    @Schema(description = "等级")
    @ExcelProperty(value = "等级")
    private String level;

    @Schema(description = "姓名")
    @ExcelProperty(value = "姓名")
    private String name;

    @Schema(description = "性别")
    @ExcelProperty(value = "性别")
    private String sex;

    @Schema(description = "手机号")
    @ExcelProperty(value = "手机号")
    private String phone;
}